#!/bin/bash
SOURCE="${BASH_SOURCE[0]}"
DIR=`dirname $SOURCE`
ROOT=$DIR/..
DATA=$ROOT/data
LIB=$ROOT/lib
GRAMMAR=$DATA/Gramatica.g
OUTPUT=$DATA/src/ar/uba/tleng/g99/expregs/parser
echo "Generando gramatica $GRAMMAR"
echo "Output a $OUTPUT";
java -cp "$LIB/*:bin" org.antlr.Tool $GRAMMAR -fo $OUTPUT
